<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<title>信息发布管理</title>
<script type="text/javascript" charset="utf-8"
	src="<%=basePath%>js/ueditor1_4_3-utf8-jsp/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8"
	src="<%=basePath%>js/ueditor1_4_3-utf8-jsp/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8"
	src="<%=basePath%>js/ueditor1_4_3-utf8-jsp/lang/zh-cn/zh-cn.js"></script>

<script>
   		window.UEDITOR_HOME_URL = "<%=basePath%>js/ueditor1_4_3-utf8-jsp/*";
	var ue = UE.getEditor('editor');
</script>

</head>
<!-- <s:debug></s:debug> -->
<body class="rightBody">

	<form action="<%=basePath%>add/q.action" method="post">
		<textarea id="container" name="container"
			style="width: 800px; height: 400px; margin: 0 auto;">
</textarea>
		<input type="submit" value="提交" />
	</form>

	<script type="text/javascript">
		var ue = UE.getEditor("container");
	</script>
</body>
</html>